package com.pig4cloud.pig.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.admin.api.entity.InfusionCore;
import com.pig4cloud.pig.admin.api.req.InfusionCoreChangeReq;
import com.pig4cloud.pig.admin.api.resp.InfusionCoreListResp;
import com.pig4cloud.pig.admin.api.resp.InfusionCoreStatisticsVO;
import com.pig4cloud.pig.admin.api.resp.InfusionSeatList;
import com.pig4cloud.pig.admin.api.resp.ToBeInfusedList;

import java.util.List;

public interface InfusionCoreService extends IService<InfusionCore> {

	InfusionCore add(InfusionCore infusionCore);

	Boolean change(InfusionCoreChangeReq infusionCoreChangeReq);

	List<ToBeInfusedList> getToBeInfused(String infusionDate);

	List<InfusionSeatList> getSeats(String infusionDate);

	Page<InfusionCoreListResp> pageVo(Page<InfusionCore> page, String infusionDate);

	InfusionCoreStatisticsVO statistics(String infusionDate);

	Boolean coreCancel(String coreId);

	Integer checkSeatNumber(InfusionCore infusionCore);

}
